package com.bbs.user;

import com.bbs.utils.SystemResult;
import com.bbs.model.UserParams;

import javax.servlet.http.HttpServletRequest;

public interface UserService {

    SystemResult userList(UserParams userParams);

    SystemResult addOrUpdate(User user);

    SystemResult del(Integer id);

    SystemResult checkUser(String userName);

    User selectUserById(Integer id);

    SystemResult upload(HttpServletRequest request);
}
